From e0cf17bba6d7b2c2522e4dee77d459df42486e03 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 5 Feb 2009 08:28:00 +0000 Subject: [PATCH] x86: Throw away .eh_frame exception-handling sections. Otherwise they can fail the build by requiring linking against discarded .exit.* sections. Signed-off-by: Keir Fraser --- xen/arch/x86/x86_32/xen.lds.S | 1 + xen/arch/x86/x86_64/xen.lds.S | 1 + 2 files changed, 2 insertions(+) diff --git a/xen/arch/x86/x86_32/xen.lds.S b/xen/arch/x86/x86_32/xen.lds.S index 99fffca441..1bbb65405a 100644 --- a/xen/arch/x86/x86_32/xen.lds.S +++ b/xen/arch/x86/x86_32/xen.lds.S @@ -91,6 +91,7 @@ SECTIONS *(.exit.text) *(.exit.data) *(.exitcall.exit) + *(.eh_frame) } /* Stabs debugging sections. */ diff --git a/xen/arch/x86/x86_64/xen.lds.S b/xen/arch/x86/x86_64/xen.lds.S index 4f840107ce..f6c37f02cc 100644 --- a/xen/arch/x86/x86_64/xen.lds.S +++ b/xen/arch/x86/x86_64/xen.lds.S @@ -89,6 +89,7 @@ SECTIONS *(.exit.text) *(.exit.data) *(.exitcall.exit) + *(.eh_frame) } /* Stabs debugging sections. */ -- 2.30.2